<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>封装这个富文本库</title>
    <!--必须写这个  rel="stylesheet"  否css不管用-->
    <link rel="stylesheet" type="text/css" href="/simditor-2.3.28/site/assets/styles/simditor.css" />
</head>
<body>
<textarea class="contentTranlation" name="tg.homeworks">xxx</textarea>

<!--自动识别-->
<textarea class="textarea" name="tg.homeworks">xxx</textarea>

<script type="text/javascript" src="/simditor-2.3.28/site/assets/scripts/jquery.min.js"></script>
<script type="text/javascript" src="/simditor-2.3.28/site/assets/scripts/module.js"></script>
<script type="text/javascript" src="/simditor-2.3.28/site/assets/scripts/hotkeys.js"></script>
<script type="text/javascript" src="/simditor-2.3.28/site/assets/scripts/uploader.js"></script>
<script type="text/javascript" src="/simditor-2.3.28/site/assets/scripts/simditor.js"></script>
<script type="text/javascript" src="/simditor-2.3.28/site/assets/scripts/mobilecheck.js"></script>
<script type="text/javascript" src="/simditor-2.3.28/site/assets/scripts/report.js"></script>
<script>
    $(document).ready(function(){
        $("textarea").each(function (index,elem) {
            initSimditor({textarea:$(this)});
        })
    });
</script>
</body>
</html>